﻿<cx:BaseFadeDialog x:Class="SSDM.AddColumn"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cx="clr-namespace:SSDM.BaseUI"
    xmlns:MyControls="clr-namespace:MPL.MyControls;assembly=MPL"
    xmlns:MyValidationRules="clr-namespace:MPL.InvalidRulues;assembly=MPL"
    Title="Add Column" SizeToContent="WidthAndHeight">
    <Grid>
        <StackPanel Margin="10">
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Text="Column Name" Width="100"></TextBlock>
                <TextBox x:Name="txtColumnName" Width="200"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Text="Column Type" Width="100"></TextBlock>
                <ComboBox x:Name="columnType" Width="200" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Text="Column Length" Width="100"></TextBlock>
                <MyControls:MaskTextBox X_MaskType="Digits" x:Name="txtLength" Width="200"/>
            </StackPanel>
            <MyControls:CommandBar x:Name="cmdBar" HorizontalAlignment="Center"
                                   PressCancelButton="cmdBar_PressCancelButton"
                                   />
        </StackPanel>
    </Grid>
</cx:BaseFadeDialog>
